package enemies;

import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.doge.*;
import com.doge.Character;

public class OneArmedSkeleton extends Character
{	
	public OneArmedSkeleton( TextureRegion t, Tile position){
		super(t,position);
		
		name = "One Armed Skeleton";
		health = 75;
		dogeCoins = 75;
		/*name, statamt, stat(0 = dmg, 1 = healing), energyreq*/
		battleActions.add(new BattleAction("Stumbling Swipe",15,0,0));
		battleActions.add(new BattleAction("Slash of the Dead",45,0,50));
		battleActions.add(new BattleAction("Opening Threat",150,0,100));
		battleActions.get(2).isLocking = true;
	}
	
	public OneArmedSkeleton( Tile position){
		this(Textures.oneArmedSkeleton, position);
	}
	
	public BattleAction getNextAction()
	{
		if(energy == 100)
		{
			//battleActions.get(2).isLocked = true;
			return battleActions.get(2);
		}
		else if (energy >= 50)
			return battleActions.get(1);
		else
			return battleActions.get(0);
	}

}